<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>CAD-Tool: planar_graph_generator.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CAD-Tool
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">planar_graph_generator.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="planar__graph__generator_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef PLANAR_GRAPH_GENERATOR_H</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define PLANAR_GRAPH_GENERATOR_H</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="structs_8h.html">structs.h</a>&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_full__plane_8h.html">Full_plane.h</a>&quot;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespacestd.html">std</a>;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;    std::vector&lt; Full_plane &gt; <a class="code" href="planar__graph__generator_8h.html#a2cdfdb8be2237b1c7359b630e9603cfd">planar_graph_generator</a>(std::vector&lt;vertex_3d&gt; v3d_list,</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;        std::vector&lt;edge_3d&gt; &amp;e3d_list);</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;    std::vector&lt; plane &gt; <a class="code" href="planar__graph__generator_8h.html#a8d89f969b47445ac1b5b0cf170401cf1">construct_planes</a>(std::vector&lt;vertex_3d&gt; v3d_list,</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;        std::vector&lt;edge_3d&gt; e3d_list, std::vector&lt; std::vector&lt;int&gt; &gt; adj_list);</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    std::vector&lt; std::vector&lt;int&gt; &gt; <a class="code" href="planar__graph__generator_8h.html#a077660a929dda9adf2f8a2daa6a563c1">get_adj_list</a>(std::vector&lt;edge_3d&gt; e3d_list,<span class="keywordtype">int</span> no_of_vertices);</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    std::vector&lt; plane &gt; <a class="code" href="planar__graph__generator_8h.html#a488a27459d11af0b73b76ebe78a8a1c4">eliminate_duplicate_planes</a>(std::vector&lt; plane &gt; planes);</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="planar__graph__generator_8h.html#acd37db477f3dd31a46790f5a7ded851c">check_legality</a>(<a class="code" href="class_full__plane.html">Full_plane</a> &amp;f, std::vector&lt; std::vector&lt;int&gt; &gt; adj_list);</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="planar__graph__generator_8h.html#a47eedebb44f45567710e54702a5f28b6">remove_dangling</a>(<a class="code" href="class_full__plane.html">Full_plane</a> &amp;f, std::vector&lt; std::vector&lt;int&gt; &gt; adj_list);</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="planar__graph__generator_8h.html#ad4d8aa255999d941dcc6b5b61ca9d0fd">remove_single_plane_edges</a>(std::vector&lt;Full_plane &gt; &amp;f_list, std::vector&lt;edge_3d&gt; &amp;e3d_list);</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="structs_8h_html"><div class="ttname"><a href="structs_8h.html">structs.h</a></div></div>
<div class="ttc" id="planar__graph__generator_8h_html_ad4d8aa255999d941dcc6b5b61ca9d0fd"><div class="ttname"><a href="planar__graph__generator_8h.html#ad4d8aa255999d941dcc6b5b61ca9d0fd">remove_single_plane_edges</a></div><div class="ttdeci">void remove_single_plane_edges(std::vector&lt; Full_plane &gt; &amp;f_list, std::vector&lt; edge_3d &gt; &amp;e3d_list)</div><div class="ttdoc">function that removes those edges which belongs only to one planner graph </div><div class="ttdef"><b>Definition:</b> <a href="planar__graph__generator_8cpp_source.html#l00121">planar_graph_generator.cpp:121</a></div></div>
<div class="ttc" id="planar__graph__generator_8h_html_a077660a929dda9adf2f8a2daa6a563c1"><div class="ttname"><a href="planar__graph__generator_8h.html#a077660a929dda9adf2f8a2daa6a563c1">get_adj_list</a></div><div class="ttdeci">std::vector&lt; std::vector&lt; int &gt; &gt; get_adj_list(std::vector&lt; edge_3d &gt; e3d_list, int no_of_vertices)</div><div class="ttdoc">function that returns adjacency edges list of the vertex_3d list </div><div class="ttdef"><b>Definition:</b> <a href="planar__graph__generator_8cpp_source.html#l00049">planar_graph_generator.cpp:49</a></div></div>
<div class="ttc" id="planar__graph__generator_8h_html_a488a27459d11af0b73b76ebe78a8a1c4"><div class="ttname"><a href="planar__graph__generator_8h.html#a488a27459d11af0b73b76ebe78a8a1c4">eliminate_duplicate_planes</a></div><div class="ttdeci">std::vector&lt; plane &gt; eliminate_duplicate_planes(std::vector&lt; plane &gt; planes)</div><div class="ttdoc">function that eliminates duplicate formed planes </div><div class="ttdef"><b>Definition:</b> <a href="planar__graph__generator_8cpp_source.html#l00057">planar_graph_generator.cpp:57</a></div></div>
<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div></div>
<div class="ttc" id="planar__graph__generator_8h_html_acd37db477f3dd31a46790f5a7ded851c"><div class="ttname"><a href="planar__graph__generator_8h.html#acd37db477f3dd31a46790f5a7ded851c">check_legality</a></div><div class="ttdeci">bool check_legality(Full_plane &amp;f, std::vector&lt; std::vector&lt; int &gt; &gt; adj_list)</div><div class="ttdoc">function returns true if planar graph is legal </div><div class="ttdef"><b>Definition:</b> <a href="planar__graph__generator_8cpp_source.html#l00080">planar_graph_generator.cpp:80</a></div></div>
<div class="ttc" id="planar__graph__generator_8h_html_a8d89f969b47445ac1b5b0cf170401cf1"><div class="ttname"><a href="planar__graph__generator_8h.html#a8d89f969b47445ac1b5b0cf170401cf1">construct_planes</a></div><div class="ttdeci">std::vector&lt; plane &gt; construct_planes(std::vector&lt; vertex_3d &gt; v3d_list, std::vector&lt; edge_3d &gt; e3d_list, std::vector&lt; std::vector&lt; int &gt; &gt; adj_list)</div><div class="ttdoc">function that constructs plane equations </div><div class="ttdef"><b>Definition:</b> <a href="planar__graph__generator_8cpp_source.html#l00027">planar_graph_generator.cpp:27</a></div></div>
<div class="ttc" id="planar__graph__generator_8h_html_a2cdfdb8be2237b1c7359b630e9603cfd"><div class="ttname"><a href="planar__graph__generator_8h.html#a2cdfdb8be2237b1c7359b630e9603cfd">planar_graph_generator</a></div><div class="ttdeci">std::vector&lt; Full_plane &gt; planar_graph_generator(std::vector&lt; vertex_3d &gt; v3d_list, std::vector&lt; edge_3d &gt; &amp;e3d_list)</div><div class="ttdoc">function that generates and retunrs planes </div><div class="ttdef"><b>Definition:</b> <a href="planar__graph__generator_8cpp_source.html#l00008">planar_graph_generator.cpp:8</a></div></div>
<div class="ttc" id="class_full__plane_html"><div class="ttname"><a href="class_full__plane.html">Full_plane</a></div><div class="ttdef"><b>Definition:</b> <a href="_full__plane_8h_source.html#l00014">Full_plane.h:14</a></div></div>
<div class="ttc" id="_full__plane_8h_html"><div class="ttname"><a href="_full__plane_8h.html">Full_plane.h</a></div></div>
<div class="ttc" id="planar__graph__generator_8h_html_a47eedebb44f45567710e54702a5f28b6"><div class="ttname"><a href="planar__graph__generator_8h.html#a47eedebb44f45567710e54702a5f28b6">remove_dangling</a></div><div class="ttdeci">void remove_dangling(Full_plane &amp;f, std::vector&lt; std::vector&lt; int &gt; &gt; adj_list)</div><div class="ttdoc">function that removes dangling and isolated edges on the planar graph using dfs </div><div class="ttdef"><b>Definition:</b> <a href="planar__graph__generator_8cpp_source.html#l00090">planar_graph_generator.cpp:90</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
